﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="~/UserControls/Header.ascx" TagName="Header" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/Footer.ascx" TagName="Footer" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/FeaturedAdds.ascx" TagName="FeaturedAdds" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/SidebarAdvertisement.ascx" TagName="SidebarAdvertisement" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/QuickSearch.ascx" TagName="QuickSearch" TagPrefix="UC" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script language="javascript" type="text/javascript" src="/Scripts/common.js"></script>
    <%--<link href="/Styles/Main.css" type="text/css" rel="Stylesheet" />--%>
    <link href="/Styles/NewStyles.css" type="text/css" rel="Stylesheet" />  
    <script language="javascript" src="/Scripts/ImageSlider.js" type="text/javascript"></script>
    <link href="/Styles/ModalPopupStyles.css" type="text/css" rel="Stylesheet" />
    <style type="text/css">
        .SliderSize{
            height:180px; width:482px; 
        }   
        .CityHeading{color:#858b80; font-weight:bold; border-bottom:#e6f0de 1px solid; margin-top:10px; padding-bottom:1px;}
        .CityHeadingFirst{margin-top:0px;}                
    </style>
    <script language="javascript" type="text/javascript">        
        function ChangeSlide(divElement) {
            var index = $(divElement).attr('index');
            ChangeImage(index - 1);
        }
        function ShowHideZones(tbodyID) {
            if ($('#' + tbodyID).is(':visible'))
                $('#' + tbodyID).slideUp('slow', null);
            else
                $('#' + tbodyID).slideDown('slow', null);
        }        

        $(document).ready(function () {            
            PlayAnimation(1);
            $('.DeSelectedAction, .SelectedAction').click(function () {
                ChangeSlide($(this));
            });            
            $('.ProjectBox, .CategoryBoxLeft').each(function () {
                $(this).click(function () {
                    var link = $(this).find('a').attr('href');
                    if (link != null && link.length > 0)
                        window.location = link.indexOf('?') > -1 ? link + '&Rnd=' + GetRandomNumber() : link + '?Rnd' + GetRandomNumber();
                });
            });            
        });
    </script>  
</head>
<body>
    <form id="form1" runat="server"> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Services>
                <asp:ServiceReference Path="~/Services/AjaxService.asmx" />
            </Services>
        </asp:ScriptManager>
        <UC:Header ID="ucHeader" runat="server" />

        <%--Sliding Container Start--%>
        <div class="SlideContainer">
            <div class="DocumentContainer" style="height:215px; background:url(/Images/SlideContainerBack.jpg); background-repeat:repeat-x;">
                <%--The Quick Search Container Start--%>
                <div class="SliderLeft">
                    <div style="margin:10px 0px 5px 0px;"><img src="/Images/QuickSearch.png" alt="Quick Search" title="Quick Search" /></div>
                    <%--Quick Search Tab Section Start--%>
                    <UC:QuickSearch ID="ucQuickSearch" runat="server" ShowGroupBorder="false" ShowAdvancedSearchLink="true" />            
                </div>
                <%--The Quick Search Container End--%>
                
                <%--Slider Container Start--%>
                <div class="SliderRight">
                    <div style="margin-top:10px;">
                        <%--<img src="/Images/SliderImages/Slider1.jpg" alt="" title="" />--%>
                        <div id="divImageContainer" style="height:180px; width:482px;">    	    	                
                            <div id="divContainer" class="SliderSize" style="background-image: url(/Images/SliderImages/Slider1.jpg); background-repeat: no-repeat;">&nbsp;</div>
                        </div>
                        <div class="clearboth"></div>
                        <div class="floatright" style="border:0px">
                            <div class="SelectedAction" index="1">Green villa</div>
                            <div class="DeSelectedAction" index="2">Lack view</div>
                            <div class="DeSelectedAction" index="3">Home</div>
                            <div class="DeSelectedAction" index="4">Golf heights</div>
                            <div class="clearboth" style="display:none;"></div>
                        </div>
                        <%--<div class="floatright">
                            <div class="SliderNavigationCurrent"></div>
                            <div class="SliderNavigation"></div>
                            <div class="SliderNavigation"></div>
                            <div class="SliderNavigation"></div>
                            <div class="clearboth"></div>
                        </div>--%>
                        <div class="clearboth"></div>
                    </div>
                </div>
                <%--Slider Container End--%>
                
                <%--Slider Right Add Start--%>
                <div class="SliderRightAdd">
                    <div>
                        <img src="/Images/SliderImages/BannerAddTop.jpg" alt="" title="" />
                    </div>
                    <div style="margin-top:7px;">
                        <img src="/Images/SliderImages/BannerAddBottom.jpg" alt="" title="" />
                    </div>
                </div>
                <%--Slider Right Add End--%>
                <div class="clearboth"></div>
            </div>
        </div>
        <%--Sliding Container End--%>
        
        <%--Hidden Images for Sliding--%>
        <div id="divHidenImageContainer" style="display:none;">
            <img src="/Images/SliderImages/Slider1.jpg" alt="Alt for first (0) image" title="Title for first (0) image" />
            <img src="/Images/SliderImages/Slider2.jpg" alt="Alt for first (1) image" title="Title for first (1) image" />
            <img src="/Images/SliderImages/Slider3.jpg" alt="Alt for first (2) image" title="Title for first (2) image" />
            <img src="/Images/SliderImages/Slider4.jpg" alt="Alt for first (3) image" title="Title for first (3) image" />                    
        </div>

        <%--Page Body Start--%>
        <div class="MiddleContainer">
            <div class="DocumentContainer">
                <div style="height:10px;"></div>
                <table cellpadding="0" cellspacing="0" style="border-collapse:collapse; width:100%; background-color:#FFFFFF;">
                    <colgroup>
                        <col style="width:220px;" />
                        <col />
                        <col style="width:220px;" />
                    </colgroup>
                    <tr>
                        <td style="padding:10px;">
                            <UC:SidebarAdvertisement ID="ucSidebarAdvertisementLeft" LoadLeftAdvertisements="true" runat="server"  />
                        </td>
                        <td style="padding-top:10px; padding-bottom:10px;">
                           
                            <div class="Categories">                        
                                <table cellpadding="0" cellspacing="0" style="width:100%;">
                                    <colgroup>
                                        <col style="width:32%;" />
                                        <col style="width:2%;" />
                                        <col style="width:32%;" />
                                        <col style="width:2%;" />
                                        <col style="width:32%;" />
                                    </colgroup>
                                    <tr>
                                        <td class="CategoryBox">                                            
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/ProjectList.aspx?<%=AppConstants.QueryString.PROPERTY_TYPE_ID %>=<%=ConfigReader.ApartmentPropertyTypeID %>">Apartment Projects</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrApartmentCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>                                            
                                        </td>
                                        <td></td>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/ProjectList.aspx?<%=AppConstants.QueryString.PROPERTY_TYPE_ID %>=<%=ConfigReader.LandPropertyTypeID %>">Land Projects</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrLandProjectCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                        <td></td>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/CompanyList.aspx?<%=AppConstants.QueryString.BUSINESS_TYPE_ID %>=<%=ConfigReader.BuildingMaterialSPID %>">Building Materials</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrBuildingMaterialCompaniesCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="5" style="height:10px;"></td>
                                    </tr>
                                    <tr>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/EventList.aspx">BTC Events</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrPortalMembersCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                        <td></td>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/CompanyList.aspx?<%=AppConstants.QueryString.BUSINESS_TYPE_ID %>=<%=ConfigReader.FurnitureSPID %>">Furniture &amp; Fixtures</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrFurnitureServiceProviderCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                        <td></td>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/CompanyList.aspx?<%=AppConstants.QueryString.BUSINESS_TYPE_ID %>=<%=ConfigReader.RealEstateServicesSPID %>">Real Estate Services</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrRealEstateServicesCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                    </tr>
                                   
                                    <tr>
                                        <td colspan="5" style="height:10px;"></td>
                                    </tr>
                                     <tr>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/ShowContent.aspx?<%=AppConstants.QueryString.ID %>=<%=ConfigReader.ContentIDOfSpecialOffer %>">Special Offer</a></div>
                                            <%--<div class="CategoryBoxRight"></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                        <td></td>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/JointVenture.aspx">Joint Venture</a></div>
                                            <%--<div class="CategoryBoxRight"></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                        <td></td>
                                        <td class="CategoryBox">
                                            <div class="CategoryBoxLeft"><a href="/Pages/Public/CompanyList.aspx?<%=AppConstants.QueryString.BUSINESS_TYPE_ID %>=<%=ConfigReader.HomeAppliancesSPID %>">Home Appliances</a></div>
                                            <%--<div class="CategoryBoxRight"><asp:Literal ID="ltrHomeAppliancesCount" runat="server"></asp:Literal></div>--%>
                                            <div class="clearboth"></div>
                                        </td>
                                    </tr>
                                </table>
                                <div style="margin-top:20px;">
                                <table width="200" border="0">
                                    <tbody>
                                        <tr>
                                            <td> <span class="heading">Welcome</span></td>
                                            <td> <img src="/Images/BtcLogo2.jpg" width="106" height="20" alt="" title=""/></td>
                                        </tr>
                                    </tbody>
                                </table>
                                </div>
                                
                                <div class="Welcomes">
                                    <%--BTCRealEstate.org is part of the Bangladesh Trade Centre conglomerate which promotes Bangladeshi products, 
                                    services and companies around the world. BTC real estate is the world leader in promoting the Bangladeshi 
                                    real estate industry at home and abroad. With its wealth of experience in real estate, BTCRealEstate.org is 
                                    the only global company which promotes and markets the Bangladeshi real estate throughout the world.--%>


                                    <span class="LogoText">BTCRealEstate.org</span> is the world leader in promoting the Bangladeshi Real Estate industry at home and abroad. 
                                    With its wealth of experience in Real Estate, <span class="LogoText">BTCRealEstate.org</span> is the only global company which promotes and markets the Bangladeshi real estate throughout the world. 
                                   
                                    <br /><span class="LogoText">BTCRealEstate.org</span> is part of the Bangladesh Trade Centre conglomerate which promotes Bangladeshi products, 
                                    services and companies around the world.

                                </div>                                
                            </div>

                             <%if (ConfigReader.ShowFeaturedAdds)
                              { %>
                            <div class="Categories" style="margin-bottom:10px;margin-top:10px">
                                <UC:FeaturedAdds ID="ucFeaturedAdds" runat="server" RepeatDirection="Horizontal" MaxAdds="3" />
                            </div>
                            <%} %>
                            
                            <%--Hot Projects Section Starts--%>
                            
                            <h4>Featured Projects</h4>                            
                            <div>
                                <%--Left Column--%>
                                <div style="width:50%; float:left;">
                                    <asp:Literal ID="ltrFeaturedProjectsLeft" runat="server"></asp:Literal>                                                      
                                </div>
                                <%--Right Column--%>
                                <div style="width:50%; float:left;">
                                    <asp:Literal ID="ltrFeaturedProjectsRight" runat="server"></asp:Literal>                                    
                                </div>
                                <div class="clearboth"></div>
                            </div>
                            <%--Hot Projects Section Ends --%>

                            <%--Zone Wise Project Count--%>
                            <h4>Search Apartment by Area</h4>
                            <div>
                                <asp:Literal ID="ltrZoneWiseProjectCount" runat="server"></asp:Literal>
                            </div>
                            <%--Zone Wise Project Count End--%>
                        </td>
                        <td style="padding:10px;">
                            <UC:SidebarAdvertisement ID="ucSidebarAdvertisementRight" LoadLeftAdvertisements="false" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <%--Page Body End--%>
    
        <%--Footer Start--%>
        <UC:Footer ID="ucFooter" runat="server" />
        <%--Footer End--%>        
    </form>
</body>
</html>
